/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package submarines.notices;
import submarines.Player;
/**
 *
 * @author elad + shiran
 * Notification sent when a player's ship got sunk, will come after another notification of a player got hit.
 */
public class NoticePlayerSubmarineSunk extends Notice{
    int size;
    
    public NoticePlayerSubmarineSunk(Player subject, NoticeType type, int size)
    {
        super(subject, type);
        this.size = size;
        this.description = "Player " + subject.getName() + " Lost a ship";
    }

    public int getSize()
    {
        return this.size;
    }
}
